#include <iostream>
#include "../../common/detail.hpp"
#include "../../server/rpc_server.hpp"

int main(){
    myrpc::initLoggers();

    myrpc::Address addr = std::make_pair("127.0.0.1", 28080);
    auto server = std::make_shared<myrpc::server::TopicServer>(addr);
    server->start();

    mylog::shutdown();
    return 0;
}